﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/ShenBaoYBQY.master"
    AutoEventWireup="true" CodeFile="2-1.aspx.cs" Inherits="_2_2_1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
    <script src="../kongjian/Lodop/LodopFuncs.js" type="text/javascript"></script>
    <script src="../kongjian/myjs/myjs.js" type="text/javascript"></script>
    <div style="float: left; width: 345px; height: 30px;">
        <span class="BiaoBiaoTi" >表2-1 污水排放口上年排放情况</span>
    </div>
    <div style="height: 30px;">
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label4" runat="server" Text="请选择排放口" ForeColor="#339933"></asp:Label>
        <asp:DropDownList ID="DropDownListPFK" runat="server" AutoPostBack="True" DataSourceID="SqlDataSourcePFK"
            DataTextField="OUT_NAME" DataValueField="SERIAL" Width="120px" AppendDataBoundItems="True"
            OnSelectedIndexChanged="DropDownListPFK_SelectedIndexChanged">
            <asp:ListItem Value="0">新增排放口</asp:ListItem>
        </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="LinkButtonDelPFK" 
            runat="server" OnClientClick="return confirm('删除的信息将不可恢复，你确认要删除？')"
            OnClick="LinkButtonDelPFK_Click" CausesValidation="False">删除当前排放口的所有信息</asp:LinkButton>
        &nbsp;<asp:SqlDataSource ID="SqlDataSourcePFK" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
            SelectCommand="SELECT qiyeid, SERIAL, OUT_NAME, POLLUTE_TYPE FROM F_OUTPUT WHERE (qiyeid = @qiyeid) AND (POLLUTE_TYPE = '1') and (SERIAL&lt;1000) and LOGOUT_FLAG=0">
            <SelectParameters>
                <asp:SessionParameter Name="qiyeid" SessionField="qiyeid" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </div>
    <div>
        <table class="mytable">
            <tr>
                <td rowspan="2" class="mytable_td_column1" style="width: 245px">
                    &nbsp;1.排放口名称
                </td>
                <td rowspan="2" class="mytable_td_column2" style="width: 145px">
                    &nbsp;
                    <asp:TextBox ID="TextBoxPFKMC" runat="server" Columns="7" onclick="gettishi('10120101')"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxPFKMC"
                        ErrorMessage="排放口名称不能为空"></asp:RequiredFieldValidator>
                </td>
                <td rowspan="2" class="mytable_td_column1" style="width: 199px">
                    &nbsp; 2.排放口编号
                </td>
                <td rowspan="2" class="mytable_td_column2">
                    &nbsp;
                    <asp:TextBox ID="TextBoxPFKBH" runat="server" Columns="7" onclick="gettishi('10120102')"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxPFKBH"
                        ErrorMessage="排放口编号不能为空"></asp:RequiredFieldValidator>
                </td>
                <td rowspan="2" class="mytable_td_column1" style="width: 76px">
                    &nbsp; 3.排放口位置
                </td>
                <td rowspan="2" class="mytable_td_column2" style="width: 202px">
                    &nbsp;
                    <asp:TextBox ID="TextBoxPFKWZ" runat="server" Columns="7" onclick="gettishi('10120103')"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxPFKWZ"
                        ErrorMessage="排放口位置不能为空"></asp:RequiredFieldValidator>
                </td>
                <td class="mytable_td_column1" style="height: 12px; width: 286px">
                    &nbsp; 4.经度
                </td>
                <td class="mytable_td_column2" style="height: 12px; width: 98px">
                    <asp:TextBox ID="TextBoxJD" runat="server" Columns="12" Enabled="False"></asp:TextBox>
                </td>
                <td rowspan="2" class="mytable_td_column1" style="width: 114px">
                    &nbsp; 6.功能区类别
                </td>
                <td rowspan="2" class="mytable_td_column2" style="width: 178px">
                    &nbsp;
                    <asp:DropDownList ID="DropDownListGNQLB" runat="server" DataSourceID="SqlDataSource4"
                        DataTextField="NAME" DataValueField="CODE" Width="90%" AppendDataBoundItems="True">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="DropDownListGNQLB"
                        ErrorMessage="功能区类别不能为空"></asp:RequiredFieldValidator>
                    <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
                        SelectCommand="SELECT [CODE], [P_TYPE], [NAME] FROM [SF_CODE_FUNCTIONAREA] WHERE ([P_TYPE] = @P_TYPE)">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="1" Name="P_TYPE" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td class="mytable_td_column1" style="height: 11px; width: 286px">
                    5. 纬度
                </td>
                <td class="mytable_td_column2" style="height: 11px; width: 98px">
                    <asp:TextBox ID="TextBoxWD" runat="server" Columns="12" Enabled="False"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="mytable_td_column1" style="width: 245px">
                    &nbsp; 7.执行标准类别
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:TextBox ID="TextBoxZXLBBZ" runat="server" Columns="7" Enabled="False">地方</asp:TextBox>
                </td>
                <td class="mytable_td_column1" style="width: 99px">
                    9.排放天数
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxPFTS" runat="server" Columns="7" onclick="gettishi('10120109')"></asp:TextBox>
                </td>
                <td class="mytable_td_column1" style="width: 76px">
                    &nbsp; 11.排放去向
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:DropDownList ID="DropDownListPFQX" runat="server" DataSourceID="SqlDataSource1"
                        DataTextField="DIRS" DataValueField="CODE" Width="90%" 
                        AppendDataBoundItems="True">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="DropDownListPFQX"
                        ErrorMessage="排放去向不能为空"></asp:RequiredFieldValidator>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
                        SelectCommand="SELECT [P_TYPE], [CODE], [DIRS] FROM [CODE_OUTDIR] WHERE ([P_TYPE] = @P_TYPE)">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="1" Name="P_TYPE" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
                <td rowspan="2" class="mytable_td_column1" style="width: 286px">
                    &nbsp; 13.污水排放量(万吨)&nbsp;
                </td>
                <td rowspan="2" class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxWSPFL" runat="server" Columns="7" 
                        onclick="gettishi('101201d0')" BorderStyle="None" ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column1" style="width: 114px">
                    &nbsp; 14.其中达标排放量(万吨)
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxQZDBPFL" runat="server" Columns="7" onclick="gettishi('101201e0')" onchange="sumWSPFL()"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="mytable_td_column1" style="width: 245px">
                    &nbsp; 8.污水排放规律
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:DropDownList ID="DropDownListWSPFGL" runat="server" DataSourceID="SqlDataSource3"
                        DataTextField="OUT_RULE" DataValueField="OUTRULE_ID" Width="90%" 
                        AppendDataBoundItems="True">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
                        SelectCommand="SELECT [OUTRULE_ID], [OUT_RULE], [P_TYPE] FROM [CODE_OUT_RULE] WHERE ([P_TYPE] = @P_TYPE)">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="1" Name="P_TYPE" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
                <td class="mytable_td_column1" style="width: 99px">
                    &nbsp; 10.排放时间 (小时/天)
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxPFSJ" runat="server" Columns="7" onclick="gettishi('101201a0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column1" style="width: 76px">
                    &nbsp; 12.水体名称
                </td>
                <td class="mytable_td_column2">
                    &nbsp;
                    <asp:DropDownList ID="DropDownListSTMC" runat="server" Width="90%" DataSourceID="SqlDataSource2"
                        DataTextField="NAME" DataValueField="CODE" AppendDataBoundItems="True">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
                        SelectCommand="SELECT CODE, NAME FROM CODE_VALLY WHERE (CODE LIKE '16%')"></asp:SqlDataSource>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="DropDownListSTMC"
                        ErrorMessage="水体名称不能为空"></asp:RequiredFieldValidator>
                </td>
                <td class="mytable_td_column1" style="width: 114px">
                    &nbsp; 15.其中超标排放量(万吨)
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxQZCBPFL" runat="server" Columns="7" onclick="gettishi('101201f0')" onchange="sumWSPFL()"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="mytable_td_column1" style="width: 245px">
                    &nbsp; 16.排放月份
                </td>
                <td colspan="3" class="mytable_td_column2">
                    <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="6">
                        <asp:ListItem Value="1">1月</asp:ListItem>
                        <asp:ListItem Value="2">2月</asp:ListItem>
                        <asp:ListItem Value="3">3月</asp:ListItem>
                        <asp:ListItem Value="4">4月</asp:ListItem>
                        <asp:ListItem Value="5">5月</asp:ListItem>
                        <asp:ListItem Value="6">6月</asp:ListItem>
                        <asp:ListItem Value="7">7月</asp:ListItem>
                        <asp:ListItem Value="8">8月</asp:ListItem>
                        <asp:ListItem Value="9">9月</asp:ListItem>
                        <asp:ListItem Value="10">10月</asp:ListItem>
                        <asp:ListItem Value="11">11月</asp:ListItem>
                        <asp:ListItem Value="12">12月</asp:ListItem>
                    </asp:CheckBoxList>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    &nbsp; 17.最近一次建设的项目名称
                </td>
                <td class="mytable_td_column2" style="width: 202px">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxJSXMMC" runat="server" Columns="7" onclick="gettishi('101201f0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 286px">
                    &nbsp; 18.建设日期
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <script language="javascript" type="text/javascript" src="../KongJian/My97DatePicker/WdatePicker.js"></script>
                    <asp:TextBox ID="TextBoxJSRQ" class="Wdate" runat="server" onclick="WdatePicker()"></asp:TextBox>
                </td>
                <td class="mytable_td_column1" style="width: 114px">
                    &nbsp; 19.污染源自动监控仪器名称
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    &nbsp;
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxZDJKY" runat="server" Columns="7"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" rowspan="3">
                    20.污染物名称&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
                <td colspan="3" class="mytable_td_column2">
                    &nbsp; 污染物排放量(吨)&nbsp; &nbsp;
                </td>
                <td colspan="2" rowspan="3" class="mytable_td_column2">
                    20.污染物名称&nbsp; &nbsp;
                </td>
                <td colspan="3" class="mytable_td_column2">
                    &nbsp; &nbsp; &nbsp; 污染物排放量(吨)
                </td>
            </tr>
            <tr class="mytable_td_column2">
                <td rowspan="2" class="mytable_td_column2" style="width: 99px">
                    &nbsp; 21.合计&nbsp;
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; 其中&nbsp;
                </td>
                <td rowspan="2" class="mytable_td_column2" style="width: 98px">
                    &nbsp; &nbsp;&nbsp; 21.合计&nbsp;
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; 其中&nbsp;
                </td>
            </tr>
            <tr class="mytable_td_column2">
                <td class="mytable_td_column2">
                    &nbsp; 22.达标排放量
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    &nbsp; 23.超标排放量
                </td>
                <td style="width: 114px" class="mytable_td_column2">
                    &nbsp; 22.达标排放量
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    &nbsp;23.超标排放量
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (1)汞&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ1" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL1" runat="server" Columns="5" onchange="sumHJ1()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL1" runat="server" Columns="5" onchange="sumHJ1()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (9)石油类
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ9" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL9" runat="server" Columns="5" onchange="sumHJ9()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL9" runat="server" Columns="5" onchange="sumHJ9()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="mytable_td_column1" colspan="2">
                    &nbsp; (2)镉&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ2" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL2" runat="server" Columns="5" onchange="sumHJ2()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL2" runat="server" Columns="5" onchange="sumHJ2()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" colspan="2">
                    &nbsp; &nbsp; (10)氨氮
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ10" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL10" runat="server" Columns="5" onchange="sumHJ10()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL10" runat="server" Columns="5" onchange="sumHJ10()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (3)六价铬</td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ3" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL3" runat="server" Columns="5" onchange="sumHJ3()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL3" runat="server" Columns="5" onchange="sumHJ3()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (11)悬浮物
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ11" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL11" runat="server" Columns="5" onchange="sumHJ11()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL11" runat="server" Columns="5" onchange="sumHJ11()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (4)铅&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ4" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL4" runat="server" Columns="5" onchange="sumHJ4()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL4" runat="server" Columns="5" onchange="sumHJ4()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (12)<asp:DropDownList ID="DropDownList12" runat="server" AppendDataBoundItems="True"
                        DataSourceID="SqlDataSourceWRWMC" DataTextField="NAME" DataValueField="CODE"
                        Width="100px">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ12" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL12" runat="server" Columns="5" onchange="sumHJ12()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL12" runat="server" Columns="5" onchange="sumHJ12()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (5)砷&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ5" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL5" runat="server" Columns="5" onchange="sumHJ5()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL5" runat="server" Columns="5" onchange="sumHJ5()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (13)<asp:DropDownList ID="DropDownList13" runat="server" AppendDataBoundItems="True"
                        DataSourceID="SqlDataSourceWRWMC" DataTextField="NAME" DataValueField="CODE"
                        Width="100px">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ13" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL13" runat="server" Columns="5" onchange="sumHJ13()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL13" runat="server" Columns="5" onchange="sumHJ13()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (6)挥发酚&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ6" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL6" runat="server" Columns="5" onchange="sumHJ6()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL6" runat="server" Columns="5" onchange="sumHJ6()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (14)<asp:DropDownList ID="DropDownList14" runat="server" AppendDataBoundItems="True"
                        DataSourceID="SqlDataSourceWRWMC" DataTextField="NAME" DataValueField="CODE"
                        Width="100px">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ14" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL14" runat="server" Columns="5" onchange="sumHJ14()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL14" runat="server" Columns="5" onchange="sumHJ14()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (7)氰化物&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ7" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL7" runat="server" Columns="5" onchange="sumHJ7()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL7" runat="server" Columns="5" onchange="sumHJ7()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (15)<asp:DropDownList ID="DropDownList15" runat="server" AppendDataBoundItems="True"
                        DataSourceID="SqlDataSourceWRWMC" DataTextField="NAME" DataValueField="CODE"
                        Width="100px">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ15" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL15" runat="server" Columns="5" onchange="sumHJ15()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL15" runat="server" Columns="5" onchange="sumHJ15()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="mytable_td_column1">
                    &nbsp; (8)化学需氧量&nbsp;
                </td>
                <td class="mytable_td_column2" style="width: 99px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ8" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL8" runat="server" Columns="5" onchange="sumHJ8()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 76px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL8" runat="server" Columns="5" onchange="sumHJ8()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
                <td colspan="2" class="mytable_td_column2">
                    &nbsp; &nbsp; (16)<asp:DropDownList ID="DropDownList16" runat="server" AppendDataBoundItems="True"
                        DataSourceID="SqlDataSourceWRWMC" DataTextField="NAME" DataValueField="CODE"
                        Width="100px">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="mytable_td_column2" style="width: 98px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxHJ16" runat="server" Columns="5" onclick="gettishi('10120121')" BorderStyle="None"
                        ReadOnly="True"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 114px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxDBL16" runat="server" Columns="5" onchange="sumHJ16()" onclick="gettishi('101201m0')"></asp:TextBox>
                </td>
                <td class="mytable_td_column2" style="width: 178px">
                    <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                        ID="TextBoxCBL16" runat="server" Columns="5" onchange="sumHJ16()" onclick="gettishi('101201n0')"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    <p style="text-align: center">
        <asp:Button ID="ButtonTiJiao" runat="server" OnClick="ButtonTiJiao_Click" 
            Text="提交填写的申报内容" />
        <asp:Label ID="LabelTiShi" runat="server"></asp:Label>
        <input id="Button5" type="button" onclick="PrintOneURL('print/2-1.aspx')" value="打印本页" />
    </p>
    <div  >
        <div class="myTiShiKuang">
            <table>
                <tr>
                    <td style="width: 456px">
                        <textarea id="TextArea1" name="S1" rows="3" style="width: 429px" height="50px"></textarea>
                    </td>
                    <td>
                        <textarea id="TextArea2" name="S2" style="width: 429px; font-size: xx-large; color: #FF0000;
                            height: 50px; font-weight: 700;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td style="width: 456px">
                        <textarea id="TextArea3" name="S3" rows="3" style="width: 429px" cols="20"></textarea>
                    </td>
                    <td>
                        <asp:TextBox onKeyPress="if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 || event.keyCode>57)) event.returnValue=false"
                            ID="TextBoxCuoWuXinXi" runat="server" Height="50px" TextMode="MultiLine" Width="429px"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <input id="Text1" style="visibility: hidden" type="text" value="<%=DisplayStr()%>"
        disabled="disabled" />
    <script type="text/javascript">
        function gettishi(str) {
            var str2 = document.getElementById("Text1").value;
            str2.replace(/\'/g, "\"");
            //取得文本框的值
            var arr = eval(str2);
            document.getElementById("TextArea1").value = '';
            document.getElementById("TextArea2").value = '';
            document.getElementById("TextArea3").value = '';


            for (var i = 0; i < arr.length; i++) {
                if (arr[i].tishiid == str) {
                    if (arr[i].ti1.length > 0) {
                        document.getElementById("TextArea1").value = arr[i].idmingcheng + "填写说明:  " + arr[i].ti1;
                    }
                    if (arr[i].ti2.length > 0) {
                        document.getElementById("TextArea2").value = arr[i].ti2;
                    }
                    if (arr[i].ti3.length > 0) {
                        document.getElementById("TextArea3").value = arr[i].idmingcheng + "填写例子:  " + arr[i].ti3;
                    }
                }
            }
        }
    </script>
    <script language="javascript" type="text/javascript">
        function sumHJ1() {
            document.getElementById("<%=this.TextBoxHJ1.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL1.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL1.ClientID %>").value));
        }
        function sumHJ2() {
            document.getElementById("<%=this.TextBoxHJ2.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL2.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL2.ClientID %>").value));
        }
        function sumHJ3() {
            document.getElementById("<%=this.TextBoxHJ3.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL3.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL3.ClientID %>").value));
        }
        function sumHJ4() {
            document.getElementById("<%=this.TextBoxHJ4.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL4.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL4.ClientID %>").value));
        }
        function sumHJ5() {
            document.getElementById("<%=this.TextBoxHJ5.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL5.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL5.ClientID %>").value));
        }
        function sumHJ6() {
            document.getElementById("<%=this.TextBoxHJ6.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL6.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL6.ClientID %>").value));
        }
        function sumHJ7() {
            document.getElementById("<%=this.TextBoxHJ7.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL7.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL7.ClientID %>").value));
        }
        function sumHJ8() {
            document.getElementById("<%=this.TextBoxHJ8.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL8.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL8.ClientID %>").value));
        }
        function sumHJ9() {
            document.getElementById("<%=this.TextBoxHJ9.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL9.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL9.ClientID %>").value));
        }
        function sumHJ10() {
            document.getElementById("<%=this.TextBoxHJ10.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL10.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL10.ClientID %>").value));
        }
        function sumHJ11() {
            document.getElementById("<%=this.TextBoxHJ11.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL11.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL11.ClientID %>").value));
        }
        function sumHJ12() {
            document.getElementById("<%=this.TextBoxHJ12.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL12.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL12.ClientID %>").value));
        }
        function sumHJ13() {
            document.getElementById("<%=this.TextBoxHJ13.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL13.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL13.ClientID %>").value));
        }
        function sumHJ14() {
            document.getElementById("<%=this.TextBoxHJ14.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL14.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL14.ClientID %>").value));
        }
        function sumHJ15() {
            document.getElementById("<%=this.TextBoxHJ15.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL15.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL15.ClientID %>").value));
        }
        function sumHJ16() {
            document.getElementById("<%=this.TextBoxHJ16.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxDBL16.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxCBL16.ClientID %>").value));
        }
        function sumWSPFL() {
            document.getElementById("<%=this.TextBoxWSPFL.ClientID %>").value = toDecimal(Number(document.getElementById("<%=this.TextBoxQZDBPFL.ClientID %>").value) + Number(document.getElementById("<%= this.TextBoxQZCBPFL.ClientID %>").value));
        }


        function toDecimal(x) {
            var f = parseFloat(x);
            if (isNaN(f)) {
                return;
            }
            f = Math.round(x * 10000) / 10000;
            return f;
        }  

    </script>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <asp:HiddenField ID="HiddenField2" runat="server" />
    <asp:HiddenField ID="HiddenField3" runat="server" />
    <asp:HiddenField ID="HiddenField4" runat="server" />
    <asp:HiddenField ID="HiddenField5" runat="server" />
    <asp:HiddenField ID="HiddenField6" runat="server" />
    <asp:HiddenField ID="HiddenField7" runat="server" />
    <asp:HiddenField ID="HiddenField8" runat="server" />
    <asp:HiddenField ID="HiddenField9" runat="server" />
    <asp:HiddenField ID="HiddenField10" runat="server" />
    <asp:HiddenField ID="HiddenField11" runat="server" />
    <asp:HiddenField ID="HiddenField12" runat="server" />
    <asp:HiddenField ID="HiddenField13" runat="server" />
    <asp:HiddenField ID="HiddenField14" runat="server" />
    <asp:HiddenField ID="HiddenField15" runat="server" />
    <asp:HiddenField ID="HiddenField16" runat="server" />
    <asp:SqlDataSource ID="SqlDataSourceWRWMC" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
        SelectCommand="SELECT [CODE], [NAME] FROM [CODE_POLLUTION_TABLE] WHERE ([P_TYPE] = @P_TYPE)">
        <SelectParameters>
            <asp:Parameter DefaultValue="1" Name="P_TYPE" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:HiddenField ID="HiddenFieldMain" runat="server" />
    <asp:HiddenField ID="HiddenFieldOUTPUT_EDIT" runat="server" />
    <asp:HiddenField ID="HiddenFieldA01201_1" runat="server" />
    <asp:HiddenField ID="HiddenFieldJD" runat="server" />
    <asp:HiddenField ID="HiddenFieldWD" runat="server" />
</asp:Content>
